package com.example.permission.repository;

import com.example.permission.entity.RoleApiPermission;
import com.example.permission.entity.RoleApiPermissionId;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface RoleApiPermissionRepository extends JpaRepository<RoleApiPermission, RoleApiPermissionId> {
    List<RoleApiPermission> findByRoleId(Long roleId);
}
